<div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
        <div class="x_title">
            <h2>{$pri_name}</h2>
            <div class="clearfix"></div>
        </div>
        <div class="x_content">
            <form class="form-horizontal form-label-left" novalidate action="" id="commentForm" method="post" enctype="multipart/form-data">
                {notempty name="code"}<p><code>备注:</code>{$code}</a></p>{/notempty}
                <!--<span class="section">Personal Info</span>-->
                {:html_text('姓名','name',$info)}
                {:html_text('手机号','mobile',$info)}
                {:html_text('业绩指标','start_number',$info)}
                {:html_text('今日已完成','end_number',$info)}

                {:html_select('公司名称','company_id',$info,$company)}
                {:html_select('部门名称','depart_id',$info,$depart)}
                {:html_select('岗位类型','worker_type_id',$info,$worker_type)}
                {:html_datetime('创建时间','create_time',$info)}
                {:html_text('登录用户名','admin_name',$info)}
<!--                {:html_text('登录密码','admin_password',$info)}-->
                {:html_number('排序','sort',$info,0)}
                
                <div class="ln_solid"></div>
                <div class="form-group">
                    <div class="col-md-6 col-md-offset-3">
                        <button id="send" type="submit" class="btn btn-success">提交</button>
                        <div class="btn btn-primary" onclick="history.go(-1)">返回</div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<!--<script>-->
<!--    $('[name="company_id"]').change(function () {-->
<!--        var company_id = $(this).val();-->
<!--        $.ajax({-->
<!--            type: 'POST',-->
<!--            url: "{:url('api/Depart/all')}",-->
<!--            data: {company_id: company_id},-->
<!--            success: function (ret) {-->
<!--                console.log(ret);-->
<!--                $('[name="depart_id"]').html('');-->
<!--                var str = '<option value=""> &#45;&#45;请选择部门&#45;&#45; </option>';-->
<!--                $.each(ret.data,function (k,v) {-->
<!--                    str += '<option value="'+v['id']+'">'+v['title']+'</option>';-->
<!--                })-->
<!--                $('[name="depart_id"]').html(str);-->
<!--            }-->
<!--        });-->
<!--    });-->
<!--</script>-->

